#ifndef MYAPPLICATION_H
#define MYAPPLICATION_H

#include <QApplication>
#include <X11/Xlib.h>
#include <X11/XKBlib.h>


class MyApplication : public QApplication
{
    Q_OBJECT
public:
    MyApplication(int & argc, char ** argv);
    bool x11EventFilter(XEvent* event);
    void forceGetIndicatorsState();

signals:
    void indicatorStateChanged(unsigned int);

private:
    bool xkbAvailable;
    int eventCode;
};
#endif

